home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 August: Tool Chest / Apple_Developer_CD_Series_August_1997_Tool_Chest.iso / Sample Code / ControlBackground / ControlBackground READ ME next >
MacBinary  |  1997-06-19  |  2.1 KB  |  [clpp/drag]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Wed Jun 11 07:44:07 1997, modified Thu Jun 19 06:28:06 1997, creator 'drag', type 'clpp' "ControlBackground READ ME", at 0x80 1989 bytes resource Apple HFS/HFS+ resource fork, map offset 0x757, map length 0x6e, data length 0x657, nextResourceMap 0x1d8b864, fileRef 0x388e, list offset 0x1c, name offset 0x6e, 4 types, 0x50494354 'PICT' * 1 resource offset 0x22 default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[clpp]
macFileCreator[drag]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 19 43 6f 6e 74 72 6f | 6c 42 61 63 6b 67 72 6f |..Contro|lBackgro|
|00000010| 75 6e 64 20 52 45 41 44 | 20 4d 45 00 00 00 00 00 |und READ| ME.....|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 63 6c 70 70 64 72 61 | 67 01 00 00 00 00 00 00 |.clppdra|g.......|
|00000050| 00 00 00 00 00 00 00 00 | 00 07 c5 af c4 40 07 af |........|.....@..|
|00000060| ce ba 36 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..6.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 cc 81 00 00 |........|........|
|00000080| 00 00 01 00 00 00 07 57 | 00 00 06 57 00 00 00 6e |.......W|...W...n|
|00000090| 00 00 00 00 00 00 01 00 | 00 00 05 b1 00 00 0b ee |........|........|
|000000a0| 00 00 00 00 00 00 04 b1 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 19 43 6f 6e 74 72 6f 6c | 42 61 63 6b 67 72 6f 75 |.Control|Backgrou|
|000000c0| 6e 64 20 52 45 41 44 20 | 4d 45 02 00 00 00 63 6c |nd READ |ME....cl|
|000000d0| 00 00 63 6c 70 70 64 72 | 61 67 01 00 ff ff ff ff |..clppdr|ag......|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 af c4 40 07 00 00 | 00 00 00 00 07 c5 0a 94 |....@...|........|
|00000100| 00 0a 00 00 0a 9e 00 00 | 00 00 0a 9e 00 50 00 00 |........|.....P..|
|00000110| 0a ee 00 78 00 00 0a 8a | 00 00 00 00 0b 66 00 20 |...x....|.....f. |
|00000120| 00 00 0b 86 00 18 00 00 | 0b c4 00 2a 00 00 0b ee |........|...*....|
|00000130| 00 00 00 00 0a 6a 00 00 | 00 01 00 01 00 00 0b c4 |.....j..|........|
|00000140| 00 00 00 00 0b 9e 00 26 | 00 00 0b c4 00 00 00 00 |.......&|........|
|00000150| 0b c4 00 00 00 00 0b ee | 00 00 00 00 0b c4 00 00 |........|........|
|00000160| 00 00 0b c4 00 00 00 00 | 0b c4 00 00 00 00 0b c4 |........|........|
|00000170| 00 00 00 00 0b c4 00 00 | 00 00 0b c4 00 00 00 00 |........|........|
|00000180| 00 00 05 ea 05 ea 00 00 | 00 00 01 d7 01 b0 00 11 |........|........|
|00000190| 02 ff 0c 00 ff ff ff ff | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 01 b0 00 00 01 d7 00 00 | 00 00 00 00 00 1e 00 0c |........|........|
|000001b0| 00 00 ff ff 00 01 00 0a | 00 00 00 00 01 d6 01 b0 |........|........|
|000001c0| 00 2c 00 09 00 03 06 47 | 65 6e 65 76 61 00 00 03 |.,.....G|eneva...|
|000001d0| 00 03 00 0d 00 18 00 2e | 00 04 00 00 00 00 00 10 |........|........|
|000001e0| 01 d6 01 b0 01 d6 01 b0 | 00 2b 12 16 11 43 6f 6e |........|.+...Con|
|000001f0| 74 72 6f 6c 42 61 63 6b | 67 72 6f 75 6e 64 00 2c |trolBack|ground.,|
|00000200| 00 0b 00 10 08 50 61 6c | 61 74 69 6e 6f 00 00 03 |.....Pal|atino...|
|00000210| 00 10 00 0d 00 0c 00 2b | 12 1a 32 63 6f 64 65 20 |.......+|..2code |
|00000220| 61 6e 64 20 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f |and docu|mentatio|
|00000230| 6e 20 a9 ca 31 39 39 37 | 20 41 70 70 6c 65 20 43 |n ..1997| Apple C|
|00000240| 6f 6d 70 75 74 65 72 2c | 20 49 6e 63 2e 00 00 2a |omputer,| Inc...*|
|00000250| 0e 19 50 65 74 65 20 47 | 6f 6e 74 69 65 72 2c 20 |..Pete G|ontier, |
|00000260| 45 76 69 6c 20 47 65 6e | 69 75 73 00 00 2a 0e 22 |Evil Gen|ius..*."|
|00000270| 4d 61 63 20 4f 53 20 44 | 65 76 65 6c 6f 70 65 72 |Mac OS D|eveloper|
|00000280| 20 54 65 63 68 6e 69 63 | 61 6c 20 53 75 70 70 6f | Technic|al Suppo|
|00000290| 72 74 00 2a 0e 16 63 6f | 6d 6d 65 6e 74 73 20 61 |rt.*..co|mments a|
|000002a0| 6e 64 20 6b 75 64 6f 73 | 20 74 6f 20 00 2c 00 0a |nd kudos| to .,..|
|000002b0| 00 16 07 43 6f 75 72 69 | 65 72 00 03 00 16 00 29 |...Couri|er.....)|
|000002c0| 89 16 3c 64 65 76 73 75 | 70 70 6f 72 74 40 61 70 |..<devsu|pport@ap|
|000002d0| 70 6c 65 2e 63 6f 6d 3e | 00 03 00 03 00 0d 00 12 |ple.com>|........|
|000002e0| 00 28 00 7a 00 12 0b 57 | 68 61 74 20 69 73 20 69 |.(.z...W|hat is i|
|000002f0| 74 3f 00 03 00 10 00 0d | 00 0c 00 2b 12 18 41 49 |t?......|...+..AI|
|00000300| 74 27 73 20 61 20 73 69 | 6d 70 6c 65 20 63 6f 64 |t's a si|mple cod|
|00000310| 65 20 73 61 6d 70 6c 65 | 20 77 68 69 63 68 20 64 |e sample| which d|
|00000320| 65 6d 6f 6e 73 74 72 61 | 74 65 73 20 68 6f 77 20 |emonstra|tes how |
|00000330| 74 6f 20 64 72 61 77 20 | 63 6f 6e 74 72 6f 6c 73 |to draw |controls|
|00000340| 00 2a 0e 47 77 69 74 68 | 20 61 20 70 61 72 74 69 |.*.Gwith| a parti|
|00000350| 63 75 6c 61 72 20 62 61 | 63 6b 67 72 6f 75 6e 64 |cular ba|ckground|
|00000360| 20 63 6f 6c 6f 72 2e 20 | 43 6f 6e 74 72 6f 6c 73 | color. |Controls|
|00000370| 20 67 65 74 20 74 68 65 | 69 72 20 62 61 63 6b 67 | get the|ir backg|
|00000380| 72 6f 75 6e 64 20 63 6f | 6c 6f 72 00 00 2a 0e 41 |round co|lor..*.A|
|00000390| 66 72 6f 6d 20 74 68 65 | 20 77 69 6e 64 6f 77 20 |from the| window |
|000003a0| 63 6f 6c 6f 72 20 74 61 | 62 6c 65 3b 20 74 68 69 |color ta|ble; thi|
|000003b0| 73 20 73 61 6d 70 6c 65 | 20 73 68 6f 77 73 20 68 |s sample| shows h|
|000003c0| 6f 77 20 74 6f 20 74 65 | 6d 70 6f 72 61 72 69 6c |ow to te|mporaril|
|000003d0| 79 00 00 2a 0e 43 61 6c | 74 65 72 20 61 6e 20 65 |y..*.Cal|ter an e|
|000003e0| 6e 74 72 79 20 69 6e 20 | 74 68 61 74 20 63 6f 6c |ntry in |that col|
|000003f0| 6f 72 20 74 61 62 6c 65 | 20 73 6f 20 74 68 61 74 |or table| so that|
|00000400| 20 74 68 65 20 63 6f 6e | 74 72 6f 6c 20 64 72 61 | the con|trol dra|
|00000410| 77 73 20 77 69 74 68 20 | 61 00 00 2a 0e 3d 70 61 |ws with |a..*.=pa|
|00000420| 72 74 69 63 75 6c 61 72 | 20 62 61 63 6b 67 72 6f |rticular| backgro|
|00000430| 75 6e 64 20 63 6f 6c 6f | 72 20 62 75 74 20 6e 6f |und colo|r but no|
|00000440| 20 6f 74 68 65 72 20 64 | 72 61 77 69 6e 67 20 69 | other d|rawing i|
|00000450| 73 20 61 66 66 65 63 74 | 65 64 2e 00 00 03 00 03 |s affect|ed......|
|00000460| 00 0d 00 12 00 28 00 ea | 00 12 2c 42 75 74 20 61 |.....(..|..,But a|
|00000470| 72 65 6e 27 74 20 77 69 | 6e 64 6f 77 20 63 6f 6c |ren't wi|ndow col|
|00000480| 6f 72 20 74 61 62 6c 65 | 73 20 62 65 63 6f 6d 69 |or table|s becomi|
|00000490| 6e 67 20 6c 65 73 73 00 | 00 2a 16 27 69 6d 70 6f |ng less.|.*.'impo|
|000004a0| 72 74 61 6e 74 20 77 69 | 74 68 20 74 68 65 20 61 |rtant wi|th the a|
|000004b0| 64 76 65 6e 74 20 6f 66 | 20 41 70 70 65 61 72 61 |dvent of| Appeara|
|000004c0| 6e 63 65 00 00 2a 16 08 | 4d 61 6e 61 67 65 72 3f |nce..*..|Manager?|
|000004d0| 00 03 00 10 00 0d 00 0c | 00 2b 12 18 47 59 65 73 |........|.+..GYes|
|000004e0| 2e 20 55 73 65 20 74 68 | 69 73 20 63 6f 64 65 20 |. Use th|is code |
|000004f0| 6f 6e 6c 79 20 69 66 20 | 79 6f 75 20 6e 65 65 64 |only if |you need|
|00000500| 20 74 6f 20 61 66 66 65 | 63 74 20 74 68 65 20 62 | to affe|ct the b|
|00000510| 61 63 6b 67 72 6f 75 6e | 64 20 63 6f 6c 6f 72 20 |ackgroun|d color |
|00000520| 6f 66 20 61 00 2a 0e 2e | 63 6f 6e 74 72 6f 6c 20 |of a.*..|control |
|00000530| 61 6e 64 20 79 6f 75 20 | 6b 6e 6f 77 20 41 70 70 |and you |know App|
|00000540| 65 61 72 61 6e 63 65 20 | 69 73 6e 27 74 20 72 75 |earance |isn't ru|
|00000550| 6e 6e 69 6e 67 2e 00 03 | 00 03 00 0d 00 12 00 28 |nning...|.......(|
|00000560| 01 5c 00 12 0c 57 65 61 | 73 65 6c 20 57 6f 72 64 |.\...Wea|sel Word|
|00000570| 73 00 00 03 00 10 00 0d | 00 0c 00 2b 12 18 43 59 |s.......|...+..CY|
|00000580| 6f 75 20 6d 61 79 20 69 | 6e 63 6f 72 70 6f 72 61 |ou may i|ncorpora|
|00000590| 74 65 20 74 68 69 73 20 | 73 61 6d 70 6c 65 20 63 |te this |sample c|
|000005a0| 6f 64 65 20 69 6e 74 6f | 20 79 6f 75 72 20 61 70 |ode into| your ap|
|000005b0| 70 6c 69 63 61 74 69 6f | 6e 73 20 77 69 74 68 6f |plicatio|ns witho|
|000005c0| 75 74 00 2a 0e 3f 72 65 | 73 74 72 69 63 74 69 6f |ut.*.?re|strictio|
|000005d0| 6e 2e 20 54 68 69 73 20 | 73 61 6d 70 6c 65 20 63 |n. This |sample c|
|000005e0| 6f 64 65 20 68 61 73 20 | 62 65 65 6e 20 70 72 6f |ode has |been pro|
|000005f0| 76 69 64 65 64 20 22 41 | 53 20 49 53 22 20 61 6e |vided "A|S IS" an|
|00000600| 64 20 74 68 65 00 00 2a | 0e 48 72 65 73 70 6f 6e |d the..*|.Hrespon|
|00000610| 73 69 62 69 6c 69 74 79 | 20 66 6f 72 20 69 74 73 |sibility| for its|
|00000620| 20 6f 70 65 72 61 74 69 | 6f 6e 20 69 73 20 31 30 | operati|on is 10|
|00000630| 30 25 20 79 6f 75 72 73 | 2e 20 59 6f 75 20 61 72 |0% yours|. You ar|
|00000640| 65 20 6e 6f 74 20 70 65 | 72 6d 69 74 74 65 64 20 |e not pe|rmitted |
|00000650| 74 6f 00 2a 0e 40 72 65 | 64 69 73 74 72 69 62 75 |to.*.@re|distribu|
|00000660| 74 65 20 74 68 65 20 73 | 6f 75 72 63 65 20 61 73 |te the s|ource as|
|00000670| 20 22 41 70 70 6c 65 20 | 73 61 6d 70 6c 65 20 63 | "Apple |sample c|
|00000680| 6f 64 65 22 20 61 66 74 | 65 72 20 68 61 76 69 6e |ode" aft|er havin|
|00000690| 67 20 6d 61 64 65 00 2a | 0e 49 63 68 61 6e 67 65 |g made.*|.Ichange|
|000006a0| 73 2e 20 49 66 20 79 6f | 75 27 72 65 20 67 6f 69 |s. If yo|u're goi|
|000006b0| 6e 67 20 74 6f 20 72 65 | 2d 64 69 73 74 72 69 62 |ng to re|-distrib|
|000006c0| 75 74 65 20 74 68 65 20 | 73 6f 75 72 63 65 2c 20 |ute the |source, |
|000006d0| 77 65 20 72 65 71 75 69 | 72 65 20 74 68 61 74 20 |we requi|re that |
|000006e0| 79 6f 75 00 00 2a 0e 42 | 6d 61 6b 65 20 69 74 20 |you..*.B|make it |
|000006f0| 63 6c 65 61 72 20 69 6e | 20 74 68 65 20 73 6f 75 |clear in| the sou|
|00000700| 72 63 65 20 74 68 61 74 | 20 74 68 65 20 63 6f 64 |rce that| the cod|
|00000710| 65 20 77 61 73 20 64 65 | 73 63 65 6e 64 65 64 20 |e was de|scended |
|00000720| 66 72 6f 6d 20 41 70 70 | 6c 65 00 2a 0e 2a 73 61 |from App|le.*.*sa|
|00000730| 6d 70 6c 65 20 63 6f 64 | 65 2c 20 62 75 74 20 74 |mple cod|e, but t|
|00000740| 68 61 74 20 79 6f 75 27 | 76 65 20 6d 61 64 65 20 |hat you'|ve made |
|00000750| 63 68 61 6e 67 65 73 2e | 00 a1 00 64 00 0e b7 78 |changes.|...d...x|
|00000760| 70 72 00 00 00 0e 00 00 | 00 00 00 00 00 ff 00 00 |pr......|........|
|00000770| 00 17 4d 53 57 44 00 04 | 4e 41 54 56 4f 4c 4e 4b |..MSWD..|NATVOLNK|
|00000780| 50 49 43 54 4f 4a 4c 4b | 00 00 00 00 30 00 00 00 |PICTOJLK|....0...|
|00000790| 01 00 00 00 00 00 00 00 | 00 00 00 00 02 50 49 43 |........|.....PIC|
|000007a0| 54 00 00 01 00 00 00 00 | 00 00 00 00 00 43 4c 41 |T.......|.....CLA|
|000007b0| 50 00 00 01 00 00 00 00 | 00 00 00 00 00 00 00 00 |P.......|........|
|000007c0| 16 00 08 00 29 00 07 01 | 23 01 d4 69 78 00 01 ff |....)...|#..ix...|
|000007d0| f8 ff f0 00 00 01 84 00 | 00 01 00 00 00 07 57 00 |........|......W.|
|000007e0| 00 06 57 00 00 00 6e 01 | d8 b8 64 38 8e 00 00 00 |..W...n.|..d8....|
|000007f0| 1c 00 6e 00 03 50 49 43 | 54 00 00 00 22 43 4c 41 |..n..PIC|T..."CLA|
|00000800| 50 00 00 00 2e 64 72 61 | 67 00 00 00 3a 66 77 73 |P....dra|g...:fws|
|00000810| 74 00 00 00 46 01 00 ff | ff 00 00 00 00 00 00 00 |t...F...|........|
|00000820| 00 01 00 ff ff 00 00 05 | ee 00 00 00 00 00 80 ff |........|........|
|00000830| ff 00 00 06 09 00 00 00 | 00 bf 4c ff ff 00 00 06 |........|..L.....|
|00000840| 3d 00 4f c0 28 00 00 00 | 00 00 00 00 00 00 00 00 |=.O.(...|........|
|00000850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+